import request from '@/utils/request'

// 查询邮箱验证码表列表
export function listRegMailInfo(query) {
  return request({
    url: '/arcus/RegMailInfo/list',
    method: 'get',
    params: query
  })
}

// 查询邮箱验证码表详细
export function getRegMailInfo(id) {
  return request({
    url: '/arcus/RegMailInfo/' + id,
    method: 'get'
  })
}

// 新增邮箱验证码表
export function addRegMailInfo(data) {
  return request({
    url: '/arcus/RegMailInfo',
    method: 'post',
    data: data
  })
}

// 修改邮箱验证码表
export function updateRegMailInfo(data) {
  return request({
    url: '/arcus/RegMailInfo',
    method: 'put',
    data: data
  })
}

// 删除邮箱验证码表
export function delRegMailInfo(id) {
  return request({
    url: '/arcus/RegMailInfo/' + id,
    method: 'delete'
  })
}
